package Sudoku3.solver;

public class solver2 extends Thread {
	
	public volatile boolean stop = false;
	
	public solver2() {
		
	}
	
	public void run() {
		while (!stop) {
			System.out.println( "Thread is running..." );
			long time = System.currentTimeMillis();
			while ( (System.currentTimeMillis()-time < 1000) && (!stop) ) {
				//do stuff here!
			}
		}
		System.out.println( "Thread exiting under request..." );
	}

}
